package com.zhonghui.modlules.order.eshopDto;

import java.io.Serializable;

public class StatusDto implements Serializable {
    private String classfy;
    private String msg;
    private String payType;
    private String title;
    private String type;

    public StatusDto() {
    }

    public String getClassfy() {
        return this.classfy;
    }

    public String getMsg() {
        return this.msg;
    }

    public String getPayType() {
        return this.payType;
    }

    public String getTitle() {
        return this.title;
    }

    public String getType() {
        return this.type;
    }

    public void setClassfy(final String classfy) {
        this.classfy = classfy;
    }

    public void setMsg(final String msg) {
        this.msg = msg;
    }

    public void setPayType(final String payType) {
        this.payType = payType;
    }

    public void setTitle(final String title) {
        this.title = title;
    }

    public void setType(final String type) {
        this.type = type;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof StatusDto)) {
            return false;
        } else {
            StatusDto other = (StatusDto)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label71: {
                    Object this$classfy = this.getClassfy();
                    Object other$classfy = other.getClassfy();
                    if (this$classfy == null) {
                        if (other$classfy == null) {
                            break label71;
                        }
                    } else if (this$classfy.equals(other$classfy)) {
                        break label71;
                    }

                    return false;
                }

                Object this$msg = this.getMsg();
                Object other$msg = other.getMsg();
                if (this$msg == null) {
                    if (other$msg != null) {
                        return false;
                    }
                } else if (!this$msg.equals(other$msg)) {
                    return false;
                }

                label57: {
                    Object this$payType = this.getPayType();
                    Object other$payType = other.getPayType();
                    if (this$payType == null) {
                        if (other$payType == null) {
                            break label57;
                        }
                    } else if (this$payType.equals(other$payType)) {
                        break label57;
                    }

                    return false;
                }

                Object this$title = this.getTitle();
                Object other$title = other.getTitle();
                if (this$title == null) {
                    if (other$title != null) {
                        return false;
                    }
                } else if (!this$title.equals(other$title)) {
                    return false;
                }

                Object this$type = this.getType();
                Object other$type = other.getType();
                if (this$type == null) {
                    if (other$type == null) {
                        return true;
                    }
                } else if (this$type.equals(other$type)) {
                    return true;
                }

                return false;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof StatusDto;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $classfy = this.getClassfy();
        result = result * 59 + ($classfy == null ? 43 : $classfy.hashCode());
        Object $msg = this.getMsg();
        result = result * 59 + ($msg == null ? 43 : $msg.hashCode());
        Object $payType = this.getPayType();
        result = result * 59 + ($payType == null ? 43 : $payType.hashCode());
        Object $title = this.getTitle();
        result = result * 59 + ($title == null ? 43 : $title.hashCode());
        Object $type = this.getType();
        result = result * 59 + ($type == null ? 43 : $type.hashCode());
        return result;
    }

    public String toString() {
        return "StatusDto(classfy=" + this.getClassfy() + ", msg=" + this.getMsg() + ", payType=" + this.getPayType() + ", title=" + this.getTitle() + ", type=" + this.getType() + ")";
    }
}
